/*
 * Copyright：fxsen <br/>
 * Date: 2021/12/21 9:58 <br/>
 * Author: <a href="mailto:fxsen@foxmail.com">fxsen</a>
 */
package com.fxsen.commons.sysmanager.core.service;

import com.fxsen.commons.core.base.common.service.ICommonService;
import com.fxsen.commons.sysmanager.core.entity.SsoConfig;

/**
 * @describe: <br/>
 * @date: 2021/12/21 9:58 <br/>
 * @author: <a href="mailto:fxsen@foxmail.com">fxsen</a>
 */
public interface ISsoConfigService extends ICommonService<SsoConfig> {
    /**
    * 验证客户端
    * @param clientId 客户端id
    * @return {@link boolean}
    * @date 2021/12/21 10:01
    * @author <a href="mailto:fxsen@foxmail.com">fxsen</a> <br/>
    * @version 1.0.0 <br/>
    **/
    boolean exists(String clientId);
    /**
    * 通过客户端id查询
    * @param clientId 客户端id
    * @return {@link SsoConfig}
    * @date 2021/12/21 10:06
    * @author <a href="mailto:fxsen@foxmail.com">fxsen</a> <br/>
    * @version 1.0.0 <br/>
    **/
    SsoConfig selectByClientId(String clientId);
}
